<template>
  <div class="outer">
    <Header></Header>
    <router-view></router-view>
    <!-- 在Home、Search显示，在登录、注册隐藏 -->
    <Footer v-show="$route.meta.show"></Footer>
  </div>
</template>

<script>
import Footer from "./components/Footer"
import Header from "./components/Header"

export default {
  name: "App",
  components: {
    Footer,
    Header,
  },
  mounted() {
    // 派发一个 action 获取商品分类的三级列表数据
  },
}
</script>

<style>
</style>
